package com.tjeasyshare.service.impl;


import com.tjeasyshare.dao.UserDao;
import com.tjeasyshare.data.model.User;
import com.tjeasyshare.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/6/7.
 */

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao _userDao;

    public UserServiceImpl(){}


    @Override
    public int insertUser(User user) {
        _userDao.insertUser(user);
        return 0;
    }
}
